package com.fjec.paid.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 013.分账详细表
 * </p>
 *
 * @author admin
 * @since 2020-11-09
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("biz_distribution_detail")
public class BizDistributionDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键Id
     */
    @TableId("Id")
    private Long id;

    /**
     * 分账Id
     */
    @TableField("DistId")
    private Long distId;

    /**
     * 订单Id
     */
    @TableField("OrderId")
    private Long orderId;

    /**
     * 分账商户号
     */
    @TableField("DivisionMerUsercode")
    private String divisionMerUsercode;

    /**
     * 分账金额
     */
    @TableField("DivAmount")
    private Integer divAmount;

    /**
     * 分账比例
     */
    @TableField("DivRatio")
    private BigDecimal divRatio;

    /**
     * 是否收取手续费
     */
    @TableField("IsChargeFee")
    private Integer isChargeFee;

    /**
     * 备注
     */
    @TableField("Remark")
    private String remark;

    /**
     * 创建时间
     */
    @TableField("CreateTime")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField("UpdateTime")
    private LocalDateTime updateTime;


}
